package com.lucene.mapper;

import com.lucene.model.Image;

import java.util.List;

/**
 * Created by zl on 2015/8/27.
 */
public interface ImageMapper {

    Image searchBySrc(Image image);
    int insertImage(Image image);
    int delImageById(Image image);
    List<Image> getAllImages();
}
